<?php
Route::group([
    'prefix' => 'wap/spread'
],function() {
    // 推广页面。
    Route::get('goods', [
        'as' => 'WapSpreadGood',
        'uses' => 'Wap\SpreadController@getGoodDetail'
    ]);

    // 下单
    Route::post('order-save', [
        'as' => 'WapSpreadOrderSave',
        'uses' => 'Wap\SpreadController@orderSave'
    ]);

    Route::get('home', [
        'as' => 'WapSpreadHome',
        'uses' => 'Wap\SpreadController@getHome3'
    ]);

    Route::get('result', [
        'as' => 'WapSpreadResult',
        'uses' => 'Wap\SpreadController@getResult'
    ]);
});
